package ve.usb.ddp.hibernate;



public class PaiEstatus implements java.io.Serializable, ve.usb.cohesion.runtime.Auditable {

    /** Creates a new instance of PaiEstatus */
    public PaiEstatus() {}
    
    /**
     * Holds value of property id.
     */
    private Long id;

    /**
     * Getter for property id.
     * @return Value of property id.
     */
    public Long getId() {
        return this.id;
    }

    /**
     * Holds value of property idEstatus.
     */
    private long idEstatus;

    /**
     * Getter for property idEstatus.
     * @return Value of property idEstatus.
     */
    public long getIdEstatus() {
        return this.idEstatus;
    }

    /**
     * Setter for property idEstatus.
     * @param idEstatus New value of property idEstatus.
     */
    public void setIdEstatus(long idEstatus) {
        this.id = this.idEstatus = idEstatus;
    }

    /**
     * Holds value of property resolucion.
     */
    private PaiResolucion resolucion;

    /**
     * Getter for property resolucion.
     * @return Value of property resolucion.
     */
    public PaiResolucion getResolucion() {
        return this.resolucion;
    }

    /**
     * Setter for property resolucion.
     * @param resolucion New value of property resolucion.
     */
    public void setResolucion(PaiResolucion resolucion) {
        this.resolucion = resolucion;
    }
    /**
     * Holds value of property nombre.
     */
    private String nombre = "";

    /**
     * Getter for property nombre.
     * @return Value of property nombre.
     */
    public String getNombre() {
        return this.nombre;
    }

    /**
     * Setter for property nombre.
     * @param nombre New value of property nombre.
     */
    public void setNombre(String nombre) {
        this.nombre = nombre;
    }




    public String toString() {
        return "<PaiEstatus id='C" + this.id +
      //idEstatus
        ((resolucion==null) ? "" : "\" resolucion =\"C" + resolucion.getId()) +

      "\" nombre =\"" + nombre +

        "'/>";
    }

}